#define _CRT_SECURE_NO_WARNINGS
#include"seqList.h"
void test1()
{
	SeqList s;
	SeqListInit(&s);
	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushBack(&s, 3);
	SeqListPushBack(&s, 4);
	SeqListPushBack(&s, 5);
	SeqListPushFront(&s, 7);
	SeqListPushFront(&s, 7);
	SeqListPushFront(&s, 7);
	SeqListPushFront(&s, 7);
	SeqListPrint(&s);
	SeqListDestroy(&s);
}

void test2()
{
	SeqList s;
	SeqListInit(&s);
	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushBack(&s, 3);
	SeqListPushBack(&s, 4);
	SeqListPushBack(&s, 5);
	SeqListPopBack(&s);

	/*SeqListPopFront(&s);
	SeqListPopFront(&s);
	SeqListPopFront(&s);
	SeqListPopFront(&s);*/
	//SeqListPopFront(&s);
	
	SeqListInsert(&s, 0, 9);
	SeqListErase(&s, 0);
	SeqListPrint(&s);
	SeqListDestroy(&s);
}
int main()
{
	//test1();
	test2();
	return 0;
}